//
//  LSFTableViewController.swift
//  hoonpay
//
//  Created by 李胜锋 on 2017/8/3.
//  Copyright © 2017年 lishengfeng. All rights reserved.
//

import UIKit

/*
class LSFTableViewController: UITableViewController, PopEnable {
    
    
    override func viewWillAppear(_ animated: Bool) {
        super.viewWillAppear(animated)
        navigationController?.setNavigationBarHidden(false, animated: false)
        
        if let nav = self.navigationController {
            if nav.viewControllers.count > 1 {
                self.tabBarController?.tabBar.isHidden = true;
                self.automaticallyAdjustsScrollViewInsets = false
            }
        }
        
    }
    
    override func viewDidAppear(_ animated: Bool) {
        super.viewDidAppear(animated)
        if let nav = self.navigationController {
            if nav.viewControllers.count <= 1 {
                self.tabBarController?.tabBar.isHidden = false;
            }
        }
    }
    
    // MARK:-  状态栏， 屏幕旋转
    override var preferredStatusBarStyle: UIStatusBarStyle {
        get {
            return .lightContent
        }
    }
    
    override var shouldAutorotate: Bool {
        get {
            return false
        }
    }
    
    override var supportedInterfaceOrientations: UIInterfaceOrientationMask {
        get {
            return UIInterfaceOrientationMask.portrait
        }
    }
    
    override var preferredInterfaceOrientationForPresentation: UIInterfaceOrientation {
        get {
            return UIInterfaceOrientation.portrait
        }
    }

}
// */
